using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using QxFramework.Core;

public class InteractivePoint : MonoBehaviour
{
    private bool interactable = true;

    public virtual bool Interactable
    {
        set { interactable = value; }

        get { return interactable; }
    }

    public virtual InteractMsg GetInteractWay()
    {
        return InteractMsg.normal;
    }

    public virtual void OnEnterInteract(GameObject player)
    {

    }

    public virtual void OnExitInteract(GameObject player)
    {

    }

    public enum InteractMsg
    {
        normal,
        others,
    }
}